import sys
import os
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))
print("Python路径:", sys.path)
try:
    import sqlalchemy
    print("SQLAlchemy版本:", sqlalchemy.__version__)
except ImportError as e:
    print("SQLAlchemy导入失败:", e)

try:
    from src.app.database import get_database_manager
    print("数据库模块导入成功")
except ImportError as e:
    print("数据库模块导入失败:", e)